package entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Rightinfo entity. @author MyEclipse Persistence Tools
 */

public class Rightinfo implements java.io.Serializable {

	// Fields

	private Short id;
	private Short pid;
	private String name;
	private String url;
	private String title;
	private String target;
	private String icon;
	private String iconopen;
	private Boolean open;
	private Set roleinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Rightinfo() {
	}

	/** minimal constructor */
	public Rightinfo(Short id, Short pid, String name, String url,
			String title, String target, Boolean open) {
		this.id = id;
		this.pid = pid;
		this.name = name;
		this.url = url;
		this.title = title;
		this.target = target;
		this.open = open;
	}

	/** full constructor */
	public Rightinfo(Short id, Short pid, String name, String url,
			String title, String target, String icon, String iconopen,
			Boolean open, Set roleinfos) {
		this.id = id;
		this.pid = pid;
		this.name = name;
		this.url = url;
		this.title = title;
		this.target = target;
		this.icon = icon;
		this.iconopen = iconopen;
		this.open = open;
		this.roleinfos = roleinfos;
	}

	// Property accessors

	public Short getId() {
		return this.id;
	}

	public void setId(Short id) {
		this.id = id;
	}

	public Short getPid() {
		return this.pid;
	}

	public void setPid(Short pid) {
		this.pid = pid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTarget() {
		return this.target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getIcon() {
		return this.icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getIconopen() {
		return this.iconopen;
	}

	public void setIconopen(String iconopen) {
		this.iconopen = iconopen;
	}

	public Boolean getOpen() {
		return this.open;
	}

	public void setOpen(Boolean open) {
		this.open = open;
	}

	public Set getRoleinfos() {
		return this.roleinfos;
	}

	public void setRoleinfos(Set roleinfos) {
		this.roleinfos = roleinfos;
	}

}